package com.yy.bolg.service;



import com.yy.bolg.entity.DeviceToDetectionBean;

import java.util.List;

/**
 * 设备和检测项关联Service接口类，定义基本的对数据库数据操作
 * @author enamoFu
 * @date 2025-04-06
 */
public interface DeviceToDetectionService {

    void add(DeviceToDetectionBean bean) throws Exception;

    void del(DeviceToDetectionBean bean) throws Exception;

    void up(DeviceToDetectionBean bean) throws Exception;

    DeviceToDetectionBean findOneByDetectionId(DeviceToDetectionBean bean) throws Exception;

    List<DeviceToDetectionBean> findAllById(DeviceToDetectionBean bean) throws Exception;

    List<DeviceToDetectionBean> findAllByDetectionId(DeviceToDetectionBean bean) throws Exception;

}
